package com.xjd.edu;

import com.xjd.edu.toolkit.cache.annotation.EnableChannelRedis;
import com.xjd.edu.toolkit.cache.annotation.EnableDefaultRedis;
import com.xjd.edu.toolkit.cache.annotation.EnableRedisson;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * 公共服务模块（API）
 */
@EnableRedisson
//@EnableRiskRedis
@EnableDefaultRedis
@EnableChannelRedis
//@EnableElasticsearch
@SpringBootApplication
@EnableAspectJAutoProxy
@ComponentScan("com.xjd.edu")
public class SampleApplication {

    public static void main(String[] args) {
        SpringApplication.run(SampleApplication.class, args);
    }

}
